package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 固定套票操作 入参项
 *
 * @ClassName SeasonFixedProductStateReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/12
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "SeasonFixedProductStateReq对象", description = "固定套票操作项req")
public class SeasonFixedProductStateReq implements Serializable {


    @ApiModelProperty(value = "操作类型  1:有效（提交审批）0:无效")
    @NotNull(message = "操作类型不能为空")
    //@Pattern(regexp = "^[12]$", message = "操作类型有误")
    private String operationType;

//    @ApiModelProperty(value = "固定套票id ")
//    @NotNull(message = "固定套票id 不能为空")
//    private Long productId;
    @ApiModelProperty(value = "固定套票id ")
    @NotNull(message = "固定套票id 不能为空")
    private String productId;

}
